cmake_minimum_required(VERSION 3.24)
idf_component_register(SRCS "main.c"
                    "pwm/example_pwm.c"
                    "gpio/bsp_led.c"
                    "ble/esp_hidd_prf_api.c"
                    "ble/example_hid_ble.c"
                    "ble/hid_dev.c"
                    "ble/hid_device_le_prf.c"
                    "ws2812/example_ws2812.c"
                    "i2c/bsp_i2c.c"
                    "i2c/example_qmc5883.c"
                    "pca9557/bsp_pca9557.c"
                    #"lcd/example_st7789.c"
                    #"lcd/example_st7789_lvgl.c"
                    "lcd/example_jd9853.c"
                    "lcd/esp_lcd_jd9853.cc"
                    "i2s/example_audio.c"
                    "camera/camera.c"
                    "wifi/example_scan_wifi.c"
                    "wifi/example_connect_wifi.c"
                    "protocols/sntp_example_main.c"
                    "sdcard/bsp_sdcard.c"
                    "sr/bsp_sr.c"
                    "ssd1306/example_ssd1306.c"
                    "adc/example_adc.c"
                    "printer/bsp_step.c"
                    "printer/bsp_printer.c"
                    "printer/bsp_uart.c"
                    "printer/bsp_usb_serial.c"
                    "sc12b/bsp_sc12b.c"
                    "ec12d/bsp_ec12d.c"
                    "led_188/bsp_led188.c"
                    "interaction/bsp_finger.c"
                    "mqtt/mqtt_demo.c"
                    INCLUDE_DIRS "." "./ble")

target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-unused-const-variable)
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG")